package com.example.clients;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

@Component
@FeignClient(value = "service-provider")
public interface HelloClient {

    @GetMapping("/hello")
    String hello();

}
